package cn.tedu.signin.management.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 实体类：签到
 *
 * @author java@傲绝
 * @version 3.0
 */
@Data
@TableName("sign_in")
public class SingIn {


    /**
     * 签到id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 数据创建时间l
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 签到位置
     */

    private String location;

    /**
     * 图片保存路径
     */
    @TableField("image_url")
    private String imageUrl;

    /**
     * 签到人id
     */

    private Long staffId;


    /**
     * 签到状态
     */

    private Integer status;

    private Long serialNumber;
}
